network interface static
Configure a static IPv4 address on the specified network interface.
User access
admin
Syntax
network interface static -device <netdevice> -ip <IP_address> -netmask <IP_address> [-gateway <IP_address>] [-force]
Argument(s) | Shortcut | Description |
---|---|---|
-device <netdevice> | -d | Specifies the interface you want to configure. Valid Values: - eth0 - eth1 - eth2 (ProtectServer 3+ External only) - eth3 (ProtectServer 3+ External only) - bond0 |
-ip <IP_address> | -i | Specifies the IP address to assign to the specified device. |
-netmask <IP_address> | -n | Specifies the network mask, in dotted-decimal format (for example, 255.255.255.0), to assign to the specified device. |
-gateway <IP_address> | -g | Specifies the gateway to assign to the specified device. |
-force | -f | Force the action without prompting. |